import request from '@/utils/request'

// 查询经费申报列表
export function listJfsb(query) {
  return request({
    url: '/yscggl/jfsb/list',
    method: 'get',
    params: query
  })
}

// 查询经费申报详细
export function getJfsb(id) {
  return request({
    url: '/yscggl/jfsb/' + id,
    method: 'get'
  })
}

// 新增经费申报
export function addJfsb(data) {
  return request({
    url: '/yscggl/jfsb',
    method: 'post',
    data: data
  })
}

// 修改经费申报
export function updateJfsb(data) {
  return request({
    url: '/yscggl/jfsb',
    method: 'put',
    data: data
  })
}

// 删除经费申报
export function delJfsb(id) {
  return request({
    url: '/yscggl/jfsb/' + id,
    method: 'delete'
  })
}
